package model

import "github.com/shopspring/decimal"

type Coins struct {
	ID           uint64          `json:"id" gorm:"primarykey"`
	Coin         int64           `json:"coin"`
	Price        decimal.Decimal `json:"price"`
	GivingCoin   decimal.Decimal `json:"giving_Coin"`
	Title        string          `json:"title"`
	ProductionId string          `json:"production_id"`
	Note         string          `json:"note"`
	FinalPrice   decimal.Decimal `json:"final_price"`
}

func (Coins) TableName() string {
	return "coins"
}
